<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<input id="id" name="id" th:value="${entity.id}"
								class="form-control" type="hidden">
							<input id="appNo" name="appNo" th:value="${entity.appNo}"
								class="form-control" type="hidden">
							<div class="form-group">
								<label class="col-sm-3 control-label">任务名：</label>
								<div class="col-sm-8">
									<input id="taskName" name="taskName" class="form-control"
										type="text" th:value="${entity.taskName}">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">处理Bean：</label>
								<div class="col-sm-8">
									<input id="dealBean" name="dealBean" class="form-control"
										type="text" th:value="${entity.dealBean}">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">自定义执行方法：</label>
								<div class="col-sm-8">
									<input id="executeMethod" name="executeMethod"
										class="form-control" type="text"
										th:value="${entity.executeMethod}">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">Cron表达式：</label>
								<div class="col-sm-8">
									<input id="cronExpression" name="cronExpression"
										class="form-control" type="text"
										th:value="${entity.cronExpression}">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">任务参数：</label>
								<div class="col-sm-8">
									<input id="taskParam" name="taskParam" class="form-control"
										type="text" th:value="${entity.taskParam}">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">加载条数：</label>
								<div class="col-sm-8">
									<input id="fetchDataNumber" name="fetchDataNumber"
										class="form-control" type="text"
										th:value="${entity.fetchDataNumber}">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">假死时间（s）：</label>
								<div class="col-sm-8">
									<input id="deadTime" name="deadTime"
										class="form-control" type="text"
										th:value="${entity.deadTime}">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">单机任务组数：</label>
								<div class="col-sm-8">
									<input id="taskGroupCount" name="taskGroupCount"
										class="form-control" type="text"
										th:value="${entity.taskGroupCount}">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">单任务线程数：</label>
								<div class="col-sm-8">
									<input id="singleTaskThreadCount" name="singleTaskThreadCount"
										class="form-control" type="text"
										th:value="${entity.singleTaskThreadCount}">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">分片设置：</label>
								<div class="col-sm-8">
									<input id="shardItem" name="shardItem" class="form-control"
										type="text" th:value="${entity.shardItem}">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">绑定IP：</label>
								<div class="col-sm-8">
									<input id="bindIp" name="bindIp" class="form-control" type="text"
										 th:value="${entity.bindIp}">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">状态:</label>
								<div class="col-sm-8">
									<label class="radio-inline"> <input
										th:field="*{entity.active}" type="radio" name="active" value="1" />
										正常
									</label> <label class="radio-inline"> <input
										th:field="*{entity.active}" type="radio" name="active" value="0" />
										禁用
									</label>
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/schedule/task/edit.js">
	</script>
</body>
</html>
